New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

bootme-request

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootme-request

Task to fire a HTTP Request

0.0.26
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created

bootme-request

Task to fire a HTTP Request

Usage

registry.addTask(
  new HttpRequestTask('iss_position').setConfig({
    method: 'GET',
    contentType: 'json',
    url: 'http://api.open-notify.org/iss-now.json'
  })
)

Result

  • Based on the contentType property.

Caveats

Don't forget to register your onRollback hook to rollback the operation.

FAQs

Package last updated on 13 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts